home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
MIDIPLAY.DOC
< prev
next >
Wrap
Text File
|
1997-01-12
|
4KB
|
121 lines
******************************
MIDIPLAY 1.0
(Midiplayer for DOS with MPU, SOUNDBLASTER)
by Guenter Nagler
1997
(gnagler@ihm.tu-graz.ac.at)
******************************
[1] BACKGROUND
This program was an experiment to get more knowledge about
* midi format
* midi communication with soundcards and keyboards
* exact timing with a dos machine (win95 dos shell compatible)
[2] FILES DESCRIPTION
MIDIPLAY.EXE........MSDOS executable for playing standard midi files
MIDI1TO0.EXE........MSDOS executable for converting format 1 midi to format 0
MIDIPLAY.DOC........this file, showing usage of MIDIPLAY.EXE
Only MIDIPLAY.EXE is needed to play format 0 files.
MIDIPLAY.EXE and MIDI1TO0.EXE is needed to play format 1 files too.
[3] COPYRIGHT
MIDIPLAY (c) 1997 were created by Guenter Nagler.
MIDIPLAY is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of MIDIPLAY. Thus, you may NOT sell or bundle MIDIPLAY
with any product in a retail environment (shareware disk distribution,
CD-ROM, etc.) without permission of the author.
You may give MIDIPLAY to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
MIDIPLAY was designed to read standard midi files and to play
General Midi compatible files through external midi port (keyboards
or Wavetableboards) using original Roland MPU-401 (tm) and
Creative Labs Soundblaster (tm) midi interfaces.
Use MIDIPLAY at your own risk. Anything you do with MIDIPLAY is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running MIDIPLAY
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using MIDIPLAY, don't use it!
You are here forewarned.
[5] INSTALLATION
Simply copy MIDIPLAY.EXE and MIDI1TO0 into a directory that is in your path.
C:\> MIDIPLAY
you should get the usage text (see next section)
[6] USAGE
usage: midiplay [-gm] [-nolyric] [-from #][-till #] [-c #] file.mid
Option -gm sends GM initialization sysex.
Option -nolyric suppresses output of text.
Option -from can be used to start at second #.
Option -till can be used to exit at second #.
Option -c plays only channel # (1-16).
Option -showtime displays playing time.
MIDIPLAY automatically starts MIDI1TO0.EXE to convert midi file format
1 into format 0 before playing it.
Important:
This program works only with a MPU-401 or Soundblaster compatible
midi interface. For soundblaster cards the environment variable BLASTER
must be set to select the correct soundcard port number (A220,A240,A260,A280).
The MPU midi port must be 300 or 330 or specified in the environment variable
MPU (hexadezimal port number).
e.g.
set BLASTER=A240 I5 D0 H5 P300 T6
set MPU=210
[7] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[8] EXAMPLES
Simply play a midi file test.mid:
c:> midiplay test.mid
Include initialization GM before playing:
c:> midiplay -gm test.mid
Show time also:
c:> midiplay -gm -s test.mid
A Batch file to play intro of a song (10 sec)
midiintr.bat:
@echo off
midiplay -gm -till 10 %1
Play intro of a song with this batch:
c:> midiintr test.mid
Play part of a song:
c:> midiplay -gm -from 112 -till 146 test.mid
The midi player can be aborted by <esc> key.